ExamPlay Light Logo
היכנס

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 8 - No. 9)

What is a 'flag' variable used for in an algorithm?
To store a numerical value.
To indicate the status of a condition.
To display output to the user.
To control the number of iterations in a loop.

הֶסבֵּר

A flag variable is used to signal whether a certain condition is met during program execution.

הערות (0)

התחבר כדי להגיב
פִּרסוֹמֶת
BrainBehindX Inc Logo
©2026; מופעל על ידי BrainBehindX Inc